package STUDENT.TranNamAnh.OOPs.Ex_1;

public class Models {
	/*
	 * 1.KiemTraTaiKhoan(obj)
	 * 2.KiemTraTTKichHoat(obj)
	 * 3.KiemTraTTKhoaMoTK(Obj)
	 * 4.KiemTraSoDuTK(obj)
	 */
	
	public boolean KiemTraTaiKhoan(UserObject objUser){
		return(objUser.getUserName().equals("doannv")) &&
		objUser.getPassWord().equals("nothing")?true:false;
	}
	
	public boolean KiemTraTTKichHoat(UserObject objUser){
		return true;
	}
	
	public boolean KiemTraTTKhoaMoTK(UserObject objUser){
		return true;
	}
	public boolean KiemTraSoDuTK(UserObject objUser){
		return true;
	}

}
